package com.giacom.abcdroid;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {

	public void onCreate(Bundle savedInstanceState) {
		final Context context = this;

		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		Button entrar = (Button) findViewById(R.id.entrar);
		
		entrar.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(context, WebViewActivity.class);
				startActivity(intent);
				
			}
		});

		Button conf = (Button) findViewById(R.id.configurar);
		
		conf.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent settings = new Intent(context, UserSettingActivity.class);
				startActivity(settings);
				
			}
		});

		
	}

}